<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null, false)}
        <ul class="nav nav-tabs">
            <li class="active"><a href="#yi" data-toggle="tab">全部</a></li>
            <li><a href="#er" data-toggle="tab">系统服务</a></li>
            <li><a href="#san" data-toggle="tab">单一服务</a></li>
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="yi">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                        <div class="fixed-table-toolbar">
                            <div class="bs-bars pull-left">
                                <div id="toolbar_yi" class="toolbar" style="position: relative;">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新">
                                        <i class="fa fa-refresh"></i>
                                    </a>
                                    <a href="{:url('Jishu/kedit')}" class="btn btn-success btn-add" title="添加">
                                        <i class="fa fa-plus"></i>添加</a>
                                </div>
                            </div>
                            <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                                <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索">
                                    <i class="glyphicon glyphicon-search"></i>
                                </button>
                            </div>
                            <div class="pull-right search">
                                <input class="form-control" type="text" placeholder="搜索"></div>
                        </div>
                      <div style="border:1px solid #eee;margin-bottom:20px;background:#999;padding:10px;">
                        <div class="panel-heading" style="background-color: #f2f2f2;">
                            <div class="panel-lead" style="text-align: center;"><h2>系统服务</h2></div>    
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table id="table_yi" class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">价格（元/小时）</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">参考图</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                     {volist name="list1" id="vo"}    
                                        <tr data-index="0">
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$vo.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {php}
                                                   $vo['version_price']=json_decode($vo['version_price'],true);
                                                   echo $vo['version_price'][0][1];
                                                {/php}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$vo['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="" class="btn btn-xs btn-success">
                                                    上传
                                                </a>
                                                <a href="{:url('Jishu/kdelete',['id'=>$vo['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                     {/volist}
                                      
                                    </tbody>
                                </table>
                            </div>
                            
                        </div>
                      </div>

                    
                     {volist name="list2" id="vo"}
                      <div style="border:1px solid #eee;margin-bottom:20px;background:#999;padding:10px;">
                        <div class="panel-heading" style="background-color: #f2f2f2;">
                            <div class="panel-lead" style="text-align: center;"><h2>单一服务({$vo.name})</h2></div>    
                        </div>
                       {notempty name="vo[0][1]"}
						            <div style="padding: 15px;">
                           <div class="panel-heading" style="background-color: #f2f2f2;">
                               <div class="panel-lead" style="text-align: center;"><h4>独立部分</h4></div>    
                           </div>
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">价格（页）</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">参考图</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                      {volist name="vo[0][1]" id="son"}
                                        {php}

                                           $son['version_price']=json_decode($son['version_price']);
                                           $count=count($son['version_price']);
                                           $verison=model('AppVersion')->where('id', $son['version_price'][0][0])->find();
                                        {/php}
                                         <tr data-index="{$key+1}">
                                            <td style="text-align: center; vertical-align: middle;background-color: #f4f4f4!important;" rowspan="{$count}">
                                                {$son.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$verison.name|default='无'}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$son['version_price'][0][1]}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>

                                                <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                         {volist name="son['version_price']" id="price" offset="1"}
                                          {php}
                                            $verison=model('AppVersion')->where('id', $price[0])->find();
                                          {/php}
                                            <tr data-index="{$price[0]}">
                                               <td style="text-align: center; vertical-align: middle;">
                                                      {$verison.name}
                                                  </td>
                                                  <td style="text-align: center; vertical-align: middle;">
                                                     {$price[1]}
                                                  </td>
                                                  <td style="text-align: center; vertical-align: middle;">
                                                      <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                          编辑
                                                      </a>
                                                       <a href="javascript:;" class="btn btn-xs btn-success">
                                                          上传
                                                      </a>
                                                      <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                          删除
                                                      </a>                                                
                                                  </td>
                                              </tr>
                                         {/volist}
                                      {/volist}  
                                    
                                    </tbody>
                                </table>
                            </div>
                                                  
                        </div>
                       {/notempty}

                       
                      {notempty name="vo[0][2]"}
                        <div style="padding: 15px;">
                           <div class="panel-heading" style="background-color: #f2f2f2;">
                               <div class="panel-lead" style="text-align: center;"><h4>通用部分</h4></div>    
                           </div>
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                           <div class="fixed-table-body">
                               <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                   <thead>
                                       <tr>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">名称</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">应用版本</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">价格（页）</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">参考图</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                       </tr>
                                   </thead>
                                   <tbody data-listidx="0">
                                       {volist name="vo[0][2]" id="son"}
                                        {php}
                                           $son['version_price']=json_decode($son['version_price']);
                                           $count=count($son['version_price']);
                                           $verison=model('AppVersion')->where('id', $son['version_price'][0][0])->find();
                                        {/php}
                                         <tr data-index="{$key+1}">
                                            <td style="text-align: center; vertical-align: middle;" rowspan="{$count}">
                                                {$son.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$verison.name|default='无'}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$son['version_price'][0][1]}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>

                                                <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                         {volist name="son['version_price']" id="price" offset="1"}
                                          {php}
                                            $verison=model('AppVersion')->where('id', $price[0])->find();
                                          {/php}
                                            <tr data-index="0">
                                               <td style="text-align: center; vertical-align: middle;">
                                                      {$verison.name}
                                                  </td>
                                                  <td style="text-align: center; vertical-align: middle;">
                                                     {$price[1]}
                                                  </td>
                                                  <td style="text-align: center; vertical-align: middle;">
                                                      <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                          编辑
                                                      </a>
                                                       <a href="javascript:;" class="btn btn-xs btn-success">
                                                          上传
                                                      </a>
                                                      <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                          删除
                                                      </a>                                                
                                                  </td>
                                              </tr>
                                         {/volist}
                                      {/volist}   
                                   </tbody>
                               </table>
                           </div>
                                                 
                        </div>
                      {/notempty}

                      </div>

                     {/volist}



                   <!-- <div style="border:1px solid #eee;margin-bottom:20px;background:#999;padding:10px;">
                       <div class="panel-heading" style="background-color: #f2f2f2;">
                           <div class="panel-lead" style="text-align: center;"><h2>单一服务({$vo.name})</h2></div>    
                       </div>
                       
                       <div style="padding: 15px;">
                           <div class="panel-heading" style="background-color: #f2f2f2;">
                               <div class="panel-lead" style="text-align: center;"><h4>独立部分</h4></div>    
                           </div>
                       </div>
                       <div class="fixed-table-container" style="padding-bottom: 0px;">
                           <div class="fixed-table-body">
                               <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                   <thead>
                                       <tr>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">名称</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">应用版本</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">价格（页）</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">参考图</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                       </tr>
                                   </thead>
                                   <tbody data-listidx="0">
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;" rowspan="2">
                                               内容页
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               电脑端
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               200
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                   
                                   </tbody>
                               </table>
                           </div>
                                                 
                       </div>
                       <div style="padding: 15px;">
                           <div class="panel-heading" style="background-color: #f2f2f2;">
                               <div class="panel-lead" style="text-align: center;"><h4>通用部分</h4></div>    
                           </div>
                       </div>
                       <div class="fixed-table-container" style="padding-bottom: 0px;">
                           <div class="fixed-table-body">
                               <table id="table" class="table table-striped table-bordered table-hover" width="100%">
                                   <thead>
                                       <tr>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">名称</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">应用版本</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">价格（页）</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                           <th style="text-align: center; vertical-align: middle; ">
                                               <div class="th-inner ">参考图</div>
                                               <div class="fht-cell"></div>
                                           </th>
                                       </tr>
                                   </thead>
                                   <tbody data-listidx="0">
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;" rowspan="2">
                                               弹窗
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               电脑板
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               200
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;">
                                               手机版
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               150
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;" rowspan="2">
                                               弹窗
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               电脑板
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               200
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;">
                                               手机版
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               150
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;" rowspan="2">
                                               弹窗
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               电脑板
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               200
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;">
                                               手机版
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               150
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;" rowspan="2">
                                               弹窗
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               电脑板
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               200
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                       <tr data-index="0">
                                           <td style="text-align: center; vertical-align: middle;">
                                               手机版
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               150
                                           </td>
                                           <td style="text-align: center; vertical-align: middle;">
                                               <a href="javascript:;" class="btn btn-xs btn-success">
                                                   查看
                                               </a>
                                                <a href="javascript:;" class="btn btn-xs btn-success">
                                                   上传
                                               </a>
                                               <a href="javascript:;" class="btn btn-xs btn-danger">
                                                   删除
                                               </a>                                                
                                           </td>
                                       </tr>
                                   </tbody>
                               </table>
                           </div>
                                                 
                       </div>
                     </div>  -->
                    
                    
                  
                 
                       
                    </div>
                </div>
            </div>
            <div class="tab-pane fade" id="er">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                        <div class="fixed-table-toolbar">
                            <div class="bs-bars pull-left">
                                <div id="toolbar_er" class="toolbar" style="position: relative;">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新">
                                        <i class="fa fa-refresh"></i>
                                    </a>
                                    <a href="{:url('Jishu/kedit')}" class="btn btn-success btn-add" title="添加">
                                        <i class="fa fa-plus"></i>添加</a>
                                </div>
                            </div>
                            <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                                <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索">
                                    <i class="glyphicon glyphicon-search"></i>
                                </button>
                            </div>
                            <div class="pull-right search">
                                <input class="form-control" type="text" placeholder="搜索"></div>
                        </div>
                        <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">价格（元/小时）</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">参考图</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                     {volist name="list1" id="vo"}    
                                        <tr data-index="0">
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$vo.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {php}
                                                   echo $vo['version_price'][0][1];
                                                {/php}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$vo['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>
                                                <a href="{:url('Jishu/kdelete',['id'=>$vo['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                     {/volist}
                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                              {$list1->render()}
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="tab-pane fade" id="san">
                <div class="widget-body no-padding">
                    <div class="bootstrap-table">
                        <div class="fixed-table-toolbar">
                            <div class="bs-bars pull-left">
                                <div id="toolbar" class="toolbar" style="position: relative;">
                                    <a href="javascript:;" class="btn btn-primary btn-refresh" title="刷新">
                                        <i class="fa fa-refresh"></i>
                                    </a>
                                    <a href="{:url('Jishu/kedit')}" class="btn btn-success btn-add" title="添加">
                                        <i class="fa fa-plus"></i>添加</a>
                                </div>
                            </div>
                            <div class="columns-right pull-right" style="margin-top:10px;margin-bottom:10px;">
                                <button class="btn btn-default" type="button" name="commonSearch" title="普通搜索">
                                    <i class="glyphicon glyphicon-search"></i>
                                </button>
                            </div>
                            <div class="pull-right search">
                                <input class="form-control" type="text" placeholder="搜索"></div>
                        </div>
                     
                     {volist name="list2" id="vo"}
                        <div style="padding: 15px;">
                            <div class="panel-heading" style="background-color: #f2f2f2;">
                                <div class="panel-lead" style="text-align: center;"><h4>单一服务({$vo.name})</h4></div>    
                            </div>
                        </div>
                       {notempty name="vo[0][1]"}
                        <div style="padding: 15px;">
                            <div class="panel-heading" style="background-color: #f2f2f2;">
                                <div class="panel-lead" style="text-align: center;"><h4>独立部分</h4></div>    
                            </div>
                        </div>
                         <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">价格（页）</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">参考图</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                      {volist name="vo[0][1]" id="son"}
                                        {php}
                                           $son['version_price']=json_decode($son['version_price']);
                                           $count=count($son['version_price']);
                                           $verison=model('AppVersion')->where('id', $son['version_price'][0][0])->find();
                                        {/php}  
                                        <tr data-index="{$key}">
                                            <td style="text-align: center; vertical-align: middle;" rowspan="{$count}">
                                                 {$son.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$verison.name|default='无'}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$son['version_price'][0][1]}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>
                                                <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                        {volist name="son['version_price']" id="price" offset="1"}
                                          {php}
                                            $verison=model('AppVersion')->where('id', $price[0])->find();
                                          {/php} 
                                        <tr data-index="{$key}">
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$verison.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$price[1]}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>
                                                <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                       {/volist}
                                     {/volist}

                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                               <!--  <div class="pull-left pagination-detail">
                                   <span class="pagination-info">显示第 1 到第 4 条记录，总共 4 条记录</span>
                                   <span class="page-list" style="display: none;">每页显示
                                       <span class="btn-group dropup">
                                           <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                               <span class="page-size">10</span>
                                               <span class="caret"></span>
                                           </button>
                                           <ul class="dropdown-menu" role="menu">
                                               <li role="menuitem" class="active">
                                                   <a href="#">10</a></li>
                                           </ul>
                                       </span>条记录</span>
                               </div>
                               <div class="pull-right pagination">
                                   <ul class="pagination">
                                       <li class="page-pre">
                                           <a href="#">上一页</a></li>
                                       <li class="page-number active">
                                           <a href="#">1</a></li>
                                       <li class="page-number">
                                           <a href="#">2</a></li>
                                       <li class="page-number">
                                           <a href="#">3</a></li>
                                       <li class="page-next">
                                           <a href="#">下一页</a></li>
                                   </ul>
                               </div> -->
                            </div>                        
                         </div>
                       {/notempty}


                       {notempty name="vo[0][2]"}
                         <div style="padding: 15px;">
                           <div class="panel-heading" style="background-color: #f2f2f2;">
                               <div class="panel-lead" style="text-align: center;"><h4>通用部分</h4></div>    
                           </div>
                         </div>
                         <div class="fixed-table-container" style="padding-bottom: 0px;">
                            <div class="fixed-table-body">
                                <table  class="table table-striped table-bordered table-hover" width="100%">
                                    <thead>
                                        <tr>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">名称</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">应用版本</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">价格（页）</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                            <th style="text-align: center; vertical-align: middle; ">
                                                <div class="th-inner ">参考图</div>
                                                <div class="fht-cell"></div>
                                            </th>
                                        </tr>
                                    </thead>
                                    <tbody data-listidx="0">
                                      {volist name="vo[0][2]" id="son"}
                                        {php}
                                           $son['version_price']=json_decode($son['version_price']);
                                           $count=count($son['version_price']);
                                           $verison=model('AppVersion')->where('id', $son['version_price'][0][0])->find();
                                        {/php}  
                                        <tr data-index="{$key}">
                                            <td style="text-align: center; vertical-align: middle;" rowspan="{$count}">
                                                 {$son.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$verison.name|default='无'}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$son['version_price'][0][1]}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>
                                                <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                        {volist name="son['version_price']" id="price" offset="1"}
                                          {php}
                                            $verison=model('AppVersion')->where('id', $price[0])->find();
                                          {/php} 
                                        <tr data-index="{$key}">
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$verison.name}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                {$price[1]}
                                            </td>
                                            <td style="text-align: center; vertical-align: middle;">
                                                <a href="{:url('Jishu/kedit',['id'=>$son['id']])}" class="btn btn-xs btn-success">
                                                    编辑
                                                </a>
                                                 <a href="javascript:;" class="btn btn-xs btn-success">
                                                    上传
                                                </a>
                                                <a href="{:url('Jishu/kdelete',['id'=>$son['id']])}" class="btn btn-xs btn-danger">
                                                    删除
                                                </a>                                                
                                            </td>
                                        </tr>
                                       {/volist}
                                     {/volist}

                                    </tbody>
                                </table>
                            </div>
                            <div class="fixed-table-pagination" style="display: block;">
                               <!--  <div class="pull-left pagination-detail">
                                   <span class="pagination-info">显示第 1 到第 4 条记录，总共 4 条记录</span>
                                   <span class="page-list" style="display: none;">每页显示
                                       <span class="btn-group dropup">
                                           <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                               <span class="page-size">10</span>
                                               <span class="caret"></span>
                                           </button>
                                           <ul class="dropdown-menu" role="menu">
                                               <li role="menuitem" class="active">
                                                   <a href="#">10</a></li>
                                           </ul>
                                       </span>条记录</span>
                               </div>
                               <div class="pull-right pagination">
                                   <ul class="pagination">
                                       <li class="page-pre">
                                           <a href="#">上一页</a></li>
                                       <li class="page-number active">
                                           <a href="#">1</a></li>
                                       <li class="page-number">
                                           <a href="#">2</a></li>
                                       <li class="page-number">
                                           <a href="#">3</a></li>
                                       <li class="page-next">
                                           <a href="#">下一页</a></li>
                                   </ul>
                               </div> -->
                            </div>                        
                         </div>
                       {/notempty}

                     {/volist}
                      
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>